package com.hhj.sell.from;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class OrderFrom {
    /*买家姓名*/
    @NotEmpty(message = "姓名不能为空")
    private String name;
    /*买家手机号*/
    @NotEmpty(message = "手机号码不能为空")
    private String phone;
     /*买家地址*/
     @NotEmpty(message = "地址必填")
    private String address;
     /*买家微信openid*/
     @NotEmpty(message = "openid必填")
    private String openid;
    /*买家购物车*/
    @NotEmpty(message ="购物车不能为空" )
    private String items;
}
